package mvc_example.model;


//模拟数据库中的数据
public class ProductData {
    public static final Product[] PRODUCTS = new Product[10];

    static {
        PRODUCTS[0] = new Product(1,"鼠标",199,"罗技");
        PRODUCTS[1] = new Product(2,"可乐",2.5,"可口可乐");
        PRODUCTS[2] = new Product(3,"笔记本电脑",4999,"联想");
        PRODUCTS[3] = new Product(4,"手机",1999,"苹果");

    }
}
